﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IOA.MES.PdaApi.Models.Response.Allocate
{
    public class QueryDispatchOrdersResponse
    {
        /// <summary>
        /// 发料单列表
        /// </summary>
        public List<DisapatchOrder> DisapatchOrders { get; set; } = new List<DisapatchOrder>();
    }

    public class DisapatchOrder
    {
        /// <summary>
        /// 发料单号
        /// </summary>
        public string DispatchNo { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNo { get; set; }

        /// <summary>
        /// 发料车间
        /// </summary>
        public string WorkshopName { get; set; }

        /// <summary>
        /// 领料人
        /// </summary>
        public string ReceiveBy { get; set; }

        /// <summary>
        /// 发料时间
        /// </summary>
        public DateTime DispatchTime { get; set; }

        /// <summary>
        /// 发料清单
        /// </summary>
        public List<BatchProduct> Products { get; set; } = new List<BatchProduct>();
    }
}
